package com.totoro.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @author TOTORO
 * @date 2021/7/22 21:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ProductComment extends PublicAttr{
    private int id;
    private int uid;
    private int slid;
    private int msId;
    private String commentText;
    private int commentScore;
    private int commentBabyStar;
    private int commentSellerStar;
    private int commentLogisticsStar;
    private int isHaveImage;
    private int isAnOnyMouse;
    /** 映射实体 */
    private String mOdd;
    private MarketSrOrder marketSrOrder;
    private User user;
    private List<CommentImage> commentImageList;
    private SellerReply sellerReply;
    private AppendComment appendComment;
    private Pagination pagination;
    /** 收货时间 */
    private String receiptDate;

    public ProductComment(int uid, int slid, int msId, String commentText, int commentScore, int commentBabyStar, int commentSellerStar, int commentLogisticsStar, int isHaveImage, int isAnOnyMouse) {
        this.uid = uid;
        this.slid = slid;
        this.msId = msId;
        this.commentText = commentText;
        this.commentScore = commentScore;
        this.commentBabyStar = commentBabyStar;
        this.commentSellerStar = commentSellerStar;
        this.commentLogisticsStar = commentLogisticsStar;
        this.isHaveImage = isHaveImage;
        this.isAnOnyMouse = isAnOnyMouse;
    }
}
